import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import axios from 'axios'
import VueAxios from 'vue-axios'

import './assets/global.css'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(axios)

Vue.prototype.$axios = axios

new Vue({
  router,
  store,
  render: function (h) {
    return h(App)
  },
  beforeCreate() {
    Vue.prototype.$bus = this
  },
}).$mount('#app')
